package com.food.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 菜品附件表
 * </p>
 *
 * @author 帅得一
 * @since 2023年06月13日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("food_attachment")
public class FoodAttachment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "food_attachment_id", type = IdType.AUTO)
    private Long foodAttachmentId;

    /**
     * 菜品ID
     */
    @TableField("food_attachment_food_id")
    private String foodAttachmentFoodId;

    /**
     * 原文件名
     */
    @TableField("food_attachment_oldFileName")
    private String foodAttachmentOldfilename;

    /**
     * 现文件名
     */
    @TableField("food_attachment_file_name")
    private String foodAttachmentFileName;

    /**
     * 文件大小
     */
    @TableField("food_attachment_size")
    private Long foodAttachmentSize;

    /**
     * 文件路径
     */
    @TableField("food_attachment_file_path")
    private String foodAttachmentFilePath;

    /**
     * 文件后缀
     */
    @TableField("food_attachment_file_suffix")
    private String foodAttachmentFileSuffix;

    /**
     * 上传时间
     */
    @TableField("food_attachment_create_date")
    private LocalDateTime foodAttachmentCreateDate;


}
